Skip to content

[0.76][Fix] Restore Metro log forwarding, change notice to signal future removal#46815

Merged
blakef merged 1 commit intofacebook:0.76-stablefrom
huntie:0.76-restore-metro-logs
Oct 7, 2024
Merged

[0.76][Fix] Restore Metro log forwarding, change notice to signal future removal#46815
blakef merged 1 commit intofacebook:0.76-stablefrom
huntie:0.76-restore-metro-logs

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Oct 3, 2024

Summary

With React Native DevTools, we are removing legacy JavaScript log streaming via Metro (#43558). We had originally taken this step judicially, however to communicate this change better, we will leave this behaviour in place and show a notice for one release cycle.

Annotating as a fix because this impacts the rollout plan for a breaking change.

Learn more about this change in the Discussion FAQs.

Changelog:
[General][Changed] - Restore Metro log forwarding, change notice to signal future removal

Test Plan

Default

Before After
image

✅ Client logs are forwarded and streamed via Metro
✅ React Native DevTools notice is updated

With server.forwardClientLogs = false

(See Metro docs)

image

✅ No client logs, including no React Native DevTools notice

cc @byCedric

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Oct 3, 2024
@blakef
Copy link
Copy Markdown
Contributor

blakef commented Oct 3, 2024

Can you rebase off main to remove the annoying linter warnings?

@huntie huntie marked this pull request as ready for review October 3, 2024 15:48
@huntie
Copy link
Copy Markdown
Member Author

huntie commented Oct 3, 2024

@blakef Oh, is latest 0.76-stable not a good starting point?

@blakef
Copy link
Copy Markdown
Contributor

blakef commented Oct 3, 2024

Oh, fair enough. Sorry got my signals crossed here.

@huntie huntie changed the title [0.76] Restore Metro log forwarding, change notice to signal future removal [0.76][Fix] Restore Metro log forwarding, change notice to signal future removal Oct 7, 2024
@blakef blakef merged commit 6047f9c into facebook:0.76-stable Oct 7, 2024
@huntie huntie deleted the 0.76-restore-metro-logs branch October 15, 2024 10:28
@blakef blakef mentioned this pull request Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants